<?php
/**
 * +-------------------------------------------------------------
 * |Caption:
 * +-------------------------------------------------------------
 * |Author: Lenny
 * +-------------------------------------------------------------
 * |Email:  1685964109@qq.com
 * +-------------------------------------------------------------
 * |Date:   2024/7/4 上午10:27
 * +-------------------------------------------------------------
 */

namespace app\admin\model;

use app\common\model\BaseModel;
use think\model\relation\BelongsTo;

class ProductSpecs extends BaseModel
{
    protected $deleteTime = 'delete_time';

    public function product(): BelongsTo
    {
        return $this->belongsTo(Product::class, 'product_id','id');
    }
}